// 类的基本使用

export {}

interface fds{}

class Person {
  name: string
  age: number
  constructor(name: string, age: number) {
    this.name = name
    this.age = age
  }

  sayHi(msg: string) : string {
    return this.name + msg
  }
  
}